
import Vue from 'vue'
import App from './App'
import router from './router'

import axios from "axios"
//项目的公共请求地址
axios.defaults.baseURL = "https://www.fastmock.site/mock/1d7aed52ca54fa73f3b46f64972a9a3a/pethome/user"

Vue.prototype.$http = axios;

/*引入elementUi*/
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
